home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group98b.txt / 000054_icon-group-sender _Tue Jun 2 12:30:47 1998.msg < prev    next >
Internet Message Format  |  2000-09-20  |  2KB

  1. Return-Path: <icon-group-sender>
  2. Received: from kingfisher.CS.Arizona.EDU (kingfisher.CS.Arizona.EDU [192.12.69.239])
  3.     by baskerville.CS.Arizona.EDU (8.8.8/8.8.7) with SMTP id MAA18463
  4.     for <icon-group-addresses@baskerville.CS.Arizona.EDU>; Tue, 2 Jun 1998 12:30:47 -0700 (MST)
  5. Received: by kingfisher.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
  6.     id AA09174; Tue, 2 Jun 1998 12:30:40 -0700
  7. From: gep2@computek.net
  8. Date: Tue, 2 Jun 1998 11:34:02 -0500
  9. Message-Id: <199806021634.LAA25018@axp.cmpu.net>
  10. Mime-Version: 1.0
  11. Content-Type: text/plain
  12. Content-Transfer-Encoding: 7bit
  13. Subject: Directory access facilities
  14. To: icon-group@optima.CS.Arizona.EDU
  15. X-Mailer: SPRY Mail Version: 04.00.06.17
  16. Errors-To: icon-group-errors@optima.CS.Arizona.EDU
  17. Status: RO
  18. Content-Length: 989
  19.  
  20. > [Richard O'Keefe points out that directories are more like tables than they
  21. are like files, and suggests a built-in function that returns a table mapping
  22. file names to records of attributes, like in Tcl.]
  23.  
  24. > Well, this is the kind of thing that gets object-oriented modeling people
  25. excited.  A directory *is* a file (it has persistent state, lives in the
  26. file system name space, etc.) and it *is* a table (set of keys that map onto
  27. values).  Your point is well-taken.  From a table it would be trivial to use
  28. key(T) to generate the filenames for the common case that Paul wanted.  If
  29. you push the table analogy to its logical extreme, though, you should
  30. implement the directory/table operations as direct manipulations on the file
  31. system, like in the language EZ.
  32.  
  33. Good points all.  Now let's not forget the multi-level hierarchical structure of 
  34. file directories...
  35.  
  36. Gordon Peterson
  37. http://www.computek.net/public/gep2/
  38. Support the Anti-SPAM Amendment!  Join at http://www.cauce.org/
  39.  
  40.